<?php defined('SYSPATH') OR die('No direct access allowed.');?>
<!-- BEGIN LOGINBOARD -->
<p class="loginboard rightside">
<?php
echo Kohana::lang('auth.welcome.user', $user_name)." [";
echo html::anchor(Router::uri('account', array()), Kohana::lang('auth.welcome.profile'), array("class"=>"service_link"))."] [";
echo html::anchor(Router::uri('auth', array('method'=>'logout')), Kohana::lang('auth.welcome.logout'), array("class"=>"service_link"))."]";
if (A2::instance()->get_user()->role == 'admin')
	echo " [".html::anchor(Router::uri('admin', array('controller'=>'forum')), Kohana::lang('admin.goto_dashboard'), array("class"=>"service_link admin"))."]";
?>
</p>
<!-- END LOGINBOARD -->